$OpenBSD: patch-Makefile,v 1.1.1.1 2008/02/08 19:30:52 sthen Exp $
--- Makefile.orig	Sat Aug 20 13:34:18 2005
+++ Makefile	Sat Jan 26 13:16:23 2008
@@ -6,12 +6,11 @@ MANDIR=/usr/share/man
 
 
 # CFLAGS=-g
-CFLAGS=-O
+CFLAGS?=-O
+CFLAGS+=-Wall
 
-default : build.h igmpproxy
+all	: build.h igmpproxy
 
-all	: igmpproxy
-
 clean	:
 	rm -f *.o *.asm build.h igmpproxy  
 
@@ -21,7 +20,7 @@ install : 
 	cp ../doc/igmpproxy.conf.5 ${MANDIR}/man5
 	if [ ! -e ${ETCDIR}/igmpproxy.conf ]; then cp igmpproxy.conf ${ETCDIR}; fi
 
-igmpproxy : igmpproxy.o config.o confread.o request.o udpsock.o mcgroup.o rttable.o \
+igmpproxy : igmpproxy.o config.o confread.o request.o mcgroup.o rttable.o \
 			igmp.o ifvc.o callout.o kern.o syslog.o lib.o mroute-api.o
 
 build.h	:  
